package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修工信息对象 maintenance_fixer
 * 
 * @author ruoyi
 * @date 2025-07-01
 */
public class MaintenanceFixer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修工主键ID */
    private Long workerId;

    /** 维修工姓名 */
    @Excel(name = "维修工姓名")
    private String workerName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 擅长技能 */
    @Excel(name = "擅长技能")
    private String skill;

    /** 关联维修记录ID */
    @Excel(name = "关联维修记录ID")
    private Long maintenanceId;

    /** 指派时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "指派时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assignTime;

    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }

    public void setWorkerName(String workerName) 
    {
        this.workerName = workerName;
    }

    public String getWorkerName() 
    {
        return workerName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setSkill(String skill) 
    {
        this.skill = skill;
    }

    public String getSkill() 
    {
        return skill;
    }

    public void setMaintenanceId(Long maintenanceId) 
    {
        this.maintenanceId = maintenanceId;
    }

    public Long getMaintenanceId() 
    {
        return maintenanceId;
    }

    public void setAssignTime(Date assignTime) 
    {
        this.assignTime = assignTime;
    }

    public Date getAssignTime() 
    {
        return assignTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workerId", getWorkerId())
            .append("workerName", getWorkerName())
            .append("phone", getPhone())
            .append("skill", getSkill())
            .append("maintenanceId", getMaintenanceId())
            .append("assignTime", getAssignTime())
            .toString();
    }
}
